const user = {}
  export default function login(state = user, action) {
    switch(action.type) {
      case 'GET_USER_INFO' :
        return {...state, ...action.payload}
      default :
      return state
    }
    
  }